projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c08e6d
)
(get_time): Cast arg to fprintf.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 13 Aug 1997 15:34:05 +0000
(15:34 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 13 Aug 1997 15:34:05 +0000
(15:34 +0000)
lib-src/profile.c
patch
|
blob
|
history
diff --git
a/lib-src/profile.c
b/lib-src/profile.c
index b0c713e69ddc3a03c4710be306ef96f22b957180..2b27ce061190fb19cc6a0250dc8ea96e209737b0 100644
(file)
--- a/
lib-src/profile.c
+++ b/
lib-src/profile.c
@@
-58,7
+58,7
@@
get_time ()
exit (1); /* call reset_watch first ! */
EMACS_GET_TIME (TV2);
EMACS_SUB_TIME (TV2, TV2, TV1);
- sprintf (time_string, "%lu.%06lu",
EMACS_SECS (TV2),
EMACS_USECS (TV2));
+ sprintf (time_string, "%lu.%06lu",
(unsigned long)EMACS_SECS (TV2), (unsigned long)
EMACS_USECS (TV2));
return time_string;
}